<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>当前所在子系统：测试系统1</h1>
<h2><a href="http://localhost:8082/">切换到系统2</a></h2>
<b>Authenticated User Id:</b> <a th:text="${#request.remoteUser}"/>
<br/>

<div th:if="${#request.remoteUser != null}">
    <a th:href="${#request.contextPath}+'/service/logout'" title="打开客户端绑定的登出地址">打开客户端绑定的登出地址</a>
    <!--	<a th:href="${#request.contextPath}+'/app2/logoutCustom'" title="Click here to log out">退出系统（定制退出页面）</a>
        <a th:href="${#request.contextPath}+'/app2/logoutCustom'" title="Click here to log out">退出系统（定制退出页面）</a>-->
</div>

<div th:if="${#request.remoteUser == null}">
    <a th:href="${#request.contextPath}+'/service/login'" title="打开客户端绑定的登录地址">打开客户端绑定的登录地址</a>
</div>


</body>
</html>
